package com.jizhang.base.constant;

import lombok.NoArgsConstructor;


@NoArgsConstructor
public enum ErrorMessaageEnum {
    SYY_ERROR(1001, "报错了,找管理员!"),
    TIME_OUT(1002,"连接超时");
    private int code;
    private String message;

    ErrorMessaageEnum(int code, String message){
        this.code=code;
        this.message=message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
